<template>
  <div class="dashboard-container">
    <div class="dashboard-text">
      需求---freewriting
    </div>
    <div>
      一.vuex获取全局value值: {{ name }}
    </div>
    <div>
      二.elementUI的改造使用；
      1.布局组件开发；
      2.滚动条组件el-scrollbar
        - 内容超出显示滚动条;

    </div>
    <div>
      三.个人div展示组件
      1.遮罩组件:
        div + css定位;
      2.
    </div>

  </div>
</template>

<script>
import { mapGetters } from 'vuex'

export default {
  name: 'Dashboard',
  computed: {
    ...mapGetters([
      'name'
    ])
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }

  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
